package com.ruoyi.configuration.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文本设置对象 mg_text_conf
 * 
 * @author ruoyi
 * @date 2024-01-17
 */
public class MgTextConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 配置key */
    @Excel(name = "配置key")
    private String typeKey;

    /**  */
    @Excel(name = "")
    private String typeValue;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 配置类型 1.推荐奖励规则2.预存奖励规则 3.团队签约规则 4.加入团队说明 */
    @Excel(name = "配置类型 1.推荐奖励规则2.预存奖励规则 3.团队签约规则 4.加入团队说明")
    private Long type;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 0 弃用 1 启用 */
    @Excel(name = "0 弃用 1 启用")
    private String enable;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTypeKey(String typeKey) 
    {
        this.typeKey = typeKey;
    }

    public String getTypeKey() 
    {
        return typeKey;
    }
    public void setTypeValue(String typeValue) 
    {
        this.typeValue = typeValue;
    }

    public String getTypeValue() 
    {
        return typeValue;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setEnable(String enable) 
    {
        this.enable = enable;
    }

    public String getEnable() 
    {
        return enable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeKey", getTypeKey())
            .append("typeValue", getTypeValue())
            .append("title", getTitle())
            .append("type", getType())
            .append("content", getContent())
            .append("remarks", getRemarks())
            .append("enable", getEnable())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
